package cn.kzgg.ymcc.mapper;

import cn.kzgg.ymcc.domain.Permission;
import com.baomidou.mybatisplus.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 权限表 Mapper 接口
 * </p>
 *
 * @author kzgg
 * @since 2022-07-15
 */
public interface PermissionMapper extends BaseMapper<Permission> {

    /**
     * g根据登陆人查权限
     * @param id
     * @return
     */
    List<Permission> loadPermissionByLoginId(Long id);
}
